         <?
        require_once('header.php'); // uri  
        ?>
        <!--[if lt IE 7]>
            <p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
        <![endif]-->
            <link rel="stylesheet" href="css/mainpage.css">
       	    <link rel="stylesheet" href="css/usersetting.css">   
            <script src="js/binaryajax.js"></script>
            <script src="js/exif.js"></script>
            <script src="js/canvasResize.js"></script>
            <script type="text/javascript" src="js/uploadbird.js"></script>
            <script type="text/javascript" src="js/usersetting.js"></script>
       	<div class="wrpOuter">
            <div class="wrpPage">
                 <?
                  require_once('subheader.php'); // uri  
                  ?>
                <div class="wrpOuterBody">
                    <div class="wrpBody clear">
                    <? 
                    require_once('menu.php'); // uri  
                    ?>
                        <!-- contentlist -->
                        <div class="wrpOuterContentList">
                            <div class="wrpInnerContentlist">
                               <div class="wrpAddBookLoad">
                                    <div class="navTopBar">
                                        <h2 class="tabShowTopBar">Setting</h2>
                                    </div>

                                    <div class="wrapper">
                                        <form class="formUserSetting">
                                            <div class="wrapUserSetting">
                                                <div class="wrapOutTmbnl">
                                                    <div class="wrapTmbnlUser" id="droppic1">
                                                        <img class="upTmbnl" id="imgavatar1" src="<?if($this->data['userpremium']['photo']){ echo imginfo.'/user/'.$this->data['userpremium']['userid'].'/'.$this->data['userpremium']['photo']; }else{?>img/profileimage.png<?}?>" alt="upimage">
                                                        <button id="bannerBtn1" class="btnBrowseTmbnl btnCreateU" type="button">+ Avatar</button>
                                                    </div>
                                                    <p class="recTmbnl recBP">300 x 300 px</p>
                                                </div>
                                                <div class="wrapSetting">
                                                    <input class="inptUsername inptNameEtc" name="username" id="username"  value="<?=$this->data['userpremium']['username']?>" type="text" placeholder="Alextra">
                                                    <input class="inptEmail inptNameEtc" name="email" id="email"  value="<?=$this->data['userpremium']['email']?>" type="text" placeholder="Alextra@live.com">
                                                    <input class="inptUsername inptNameEtc" name="firstname" id="firstname"  value="<?=$this->data['userpremium']['firstname']?>" type="text" placeholder="Alextra San">
                                                    
                                                     <input class="inptUsername inptNameEtc" name="password" id="password"  value="" type="password" placeholder="Password">
                                                     <input class="inptUsername inptNameEtc" name="repassword" id="repassword"  value="" type="password" placeholder="RePassword">
                                                     
                                                    <input type="hidden" name="shelfid" id="shelfid" value="<?=$this->data['userpremium']['shelfid']?>" >
                                                    <div class="showLevelUser">
                                                        <Strong>Level:</Strong>
                                                        <p class="levelState">User Premium</p>
                                                    </div>
                                                </div>
<!--                                                <div class="wrapUserBanner">
                                                    <div class="upBannerImg">
                                                        <img class="upBannerImgA" src="img/banner.png" alt="upimage">
                                                        <div class="upBannerImgA">
                                                            <button class="btnBanner btnCreateU">+ Banner</button>
                                                        </div>
                                                        <div class="upBannerImgA recBanBar">
                                                            <input class="inptLink" type="text" placeholder="Link">
                                                            <p class="recBanner recBP">Recommended Size : 800 x 200 px</p>
                                                        </div>
                                                    </div>
                                                </div>-->
                                            </div>
                                            <div class="wrapBtnSaveUser">
                                                <button class="btnSaveUser btnCreateU" onclick="savesetting()" type="button">Save</button>
                                            </div>
                                        </form>
                                    </div>
                               </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
                       <?if($this->data['userpremium']['photo']){?>
 <script>

        $(function() {

        $("#filebirdsavename-0").val('<?=$this->data['userpremium']['photo']?>');
    
        });
            
  </script>   
  
  <?} ?>    

   <?
        require_once('footer.php'); // uri  
        ?>